package com.red.wine.util;

import android.util.Log;

public class ContentBean {
	 // 文章id
    private String id;
    // 文章内容
    private String text;
    // 发布人id
    private String userId;
    // 发布人名字
    private String userName;
    // 发布人头像
    private String userIcon;
    // 发布时间
    private String time;
    // 是否有图片
    private Boolean haveImage = false;
    //显示图片内容
    private String image_context;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserIcon() {
		return userIcon;
	}
	public void setUserIcon(String userIcon) {
		this.userIcon = userIcon;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public Boolean getHaveImage() {
		return haveImage;
	}
	public void setHaveImage(Boolean haveImage) {
		this.haveImage = haveImage;
	}
	public String getImage_context() {
		return image_context;
	}
	public void setImage_context(String image_context) {
		this.image_context = image_context;
	}
	@Override
	public String toString() {
		Log.d("tag", "ContentBean [id=" + id + ", text=" + text + ", userId="
				+ userId + ", userName=" + userName + ", userIcon=" + userIcon
				+ ", time=" + time + ", haveImage=" + haveImage
				+ ", image_context=" + image_context + "]");
		 return null;
	}
	
    
}
